MIDDLE v1.02 - copy middle part of text file

Revised 3-Apr-96. Copyright (c) 1996 by Rune Berg. TextTools Freeware.

Usage - Description - Options


USAGE

middle [log logfile] [option] m n [infile] [to outfile]


DESCRIPTION

middle copies infile to outfile, except the m first and the n last lines.

If infile has m+n or fewer lines, outfile will be empty.

m and n must be in the range 0 .. 2147483647.

If you don't specify infile, middle reads from standard input.
If you don't specify outfile, middle writes to standard output.
If you don't specify logfile, middle writes error messages to standard error.


OPTIONS

-v : Print version banner and usage info to standard error (or logfile, if given), then exit.


End of document